home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-13 | 3.9 KB | 117 lines |
- ARCH = ard
- #
- # Feel Add-on Makefile
- #
- # It relies on the file feel_elvira.o existing
- # in the directory ../Objs, plus whatever libraries you may need.
-
- FEELDIR=..
- CC=${FEELDIR}/bin/ecc.ard -g -I..
- #Name your machine...
-
- MACHINE = BSD
-
- #what to call the thing
- FEELNAME = dbmfeel.${ARCH}
-
- #copied from Feel makefile
- FLAGS = -DWITH_SYSTEMV_SOCKETS -I../Src
-
- # pvm
- #PVMSOURCES = eupvm.c
- #PVMOBJECTS = eupvm.o
- #PVMHDRS = eupvm_p.h
- #PVMLIBS = -L. -lpvm
-
- #new socket io
- #NEWSOCKSOURCES = new_sockio.c
- #NEWSOCKOBJECTS = new_sockio.o
- #NEWSOCKLIBS =
- #reader
- READERSOURCES = obread.c
- READEROBJECTS = obread.o
- READERHDRS = obread.h obread_p.h
- READERLIBS =
-
- #dbm
- DBMSOURCES = eudbm.c alloca.c
- DBMOBJECTS = eudbm.o alloca.o
- DBMHDRS = eudbm.h
- DBMLIBS = -L. -lgdbm
-
- #dbm
- #STREAMSOURCES = nprint.c
- #STREAMOBJECTS = nprint.o
- #STREAMHDRS = nio.h
- #STREAMLIBS =
-
- # YYonX
- #YYSOURCES = euclient.c packet.c misc.c debug.c
- #YYOBJECTS = euclient.o packet.o misc.o debug.o
- #YYHDRS = eucmd.h yydefault.h yyfont.h yydefs.h yypacket.h
-
-
- MALLOCSOURCES = feel_malloc.c
- MALLOCOBJECTS = feel_malloc.o
- MALLOCHDRS = feel_malloc.h
- MALLOCLIBS =
-
- # modify this if you have loads of architectures
- # [If someone knows how to do mapcar in sh/make, let me know.
- # FILES=(mapcar wrap-sources LIBRARIES)]
-
-
- ## Modify these if you add libraries
- ALLSOURCES = ${PVMSOURCES} ${NEWSOCKSOURCES} ${DBMSOURCES} ${READERSOURCES} ${MALLOCSOURCES} ${YYSOURCES} ${STREAMSOURCES}
- ALLOBJECTS = ${PVMOBJECTS} ${NEWSOCKOBJECTS} ${DBMOBJECTS} ${READEROBJECTS} ${MALLOCOBJECTS} ${YYOBJECTS} ${STREAMOBJECTS}
- ALLHDRS = ${PVMHDRS} ${NEWSOCKHDRS} ${DBMHDRS} ${READERHDRS} ${MALLOCHDRS} ${YYHDRS} ${STREAMHDRS}
- ALLLIBRARIES = ${PVMLIBS} ${NEWSOCKLIBS} ${DBMLIBS} ${READERLIBS} ${MALLOCLIBS} ${YYLIBS} ${STREAMLIBS}
-
- # This should not need to be changed
- ELVIRAOBJECT=../Objs/${ARCH}-elvira.o
-
- MORE_FLAGS = -DMACHINE_${MACHINE} \
- -DMODULE_PATH=\"${MODULE_PATH}\" \
- -DLOAD_PATH_NAME=\"${LOAD_PATH_NAME}\" \
- -DSEMAPHORES_${SEMAPHORES} \
- -DMAKE_DATE="\"${DATE}\"" \
- -DFOURBYTESINT
-
- ${FEELNAME}: ../Objs/${ARCH}-elvira.o ${ALLOBJECTS}
- ${CC} -o ${FEELNAME} ${FLAGS} ${ALLOBJECTS} ${ELVIRAOBJECT} ${ALLLIBRARIES}
-
- depend: ${ALLSOURCES} ${ALLHDRS}
- makedepend -s "# DO NOT DELETE THIS LINE" -- ${FLAGS} ${MORE_FLAGS} -- ${ALLSOURCES}
-
- .c.o:
- ${CC} -c $*.c ${FLAGS} ${MORE_FLAGS}
-
- # DO NOT DELETE THIS LINE
-
- feel_malloc.o: ../Src/defs.h ../Src/structs.h /usr/include/stdio.h
- feel_malloc.o: /usr/include/varargs.h /usr/include/setjmp.h ../Src/system_t.h
- feel_malloc.o: ../Src/system_p.h ../Src/allocate.h
- euclient.o: /usr/include/poll.h /usr/include/sys/poll.h /usr/include/stdio.h
- euclient.o: /usr/include/varargs.h /usr/include/fcntl.h
- euclient.o: /usr/include/sys/fcntl.h /usr/include/signal.h
- euclient.o: /usr/include/sys/signal.h /usr/include/sys/types.h
- euclient.o: /usr/include/sys/un.h /usr/include/strings.h ../Src/defs.h
- euclient.o: ../Src/funcalls.h ../Src/structs.h /usr/include/setjmp.h
- euclient.o: ../Src/system_t.h ../Src/system_p.h ../Src/global.h
- euclient.o: ../Src/state.h ../Src/error.h ../Src/bootstrap.h yydefs.h
- euclient.o: /usr/include/errno.h /usr/include/sys/errno.h
- euclient.o: /usr/include/sys/time.h /usr/include/sys/time.h yydefault.h
- euclient.o: /usr/include/ctype.h yypacket.h eucmd.h
- packet.o: /usr/include/stdio.h /usr/include/varargs.h
- packet.o: /usr/include/sys/types.h yydefs.h /usr/include/errno.h
- packet.o: /usr/include/sys/errno.h /usr/include/sys/time.h
- packet.o: /usr/include/sys/time.h yydefault.h /usr/include/ctype.h yypacket.h
- misc.o: /usr/include/stdio.h /usr/include/varargs.h /usr/include/sys/types.h
- misc.o: yydefs.h /usr/include/errno.h /usr/include/sys/errno.h
- misc.o: /usr/include/sys/time.h /usr/include/sys/time.h yydefault.h
- misc.o: /usr/include/ctype.h
- debug.o: /usr/include/stdio.h /usr/include/varargs.h /usr/include/strings.h
- debug.o: /usr/include/sys/types.h yydefs.h /usr/include/errno.h
- debug.o: /usr/include/sys/errno.h /usr/include/sys/time.h
- debug.o: /usr/include/sys/time.h yydefault.h /usr/include/ctype.h
-